package com.clms.maintain.pojo.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;


import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;


@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tb_maintain_record")
@ApiModel(value = "record实体", description = "维修纪律实体类")
public class TbRecord {
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Integer id;
    @ApiModelProperty(value = "车辆id")
    private long carId;
    @ApiModelProperty(value = "修车厂id")
    private long maintainShopId;
    @ApiModelProperty(value = "金额")
    private String amount;
    @ApiModelProperty(value = "添加时间")
    private java.sql.Date createtime;
    @ApiModelProperty(value = "建议")
    private String remark;

    @TableField(exist = false)
    private TbShop tbShop;

    @ApiModelProperty(value = "图片的路径")

    private String carImg;

    @ApiModelProperty(value = "维修编号")
    private String recordId;


    @TableField(exist = false)
    private TbCar tbCar;


}
